<template>
  <div>App</div>
  <!-- 
    v-model
      绑定modelValue属性
      绑定update:modelValue事件
    v-model:xxx
      绑定xxx属性
      绑定update:xxx属性
      绑定事件默认都是原生DOM是事件，
        需要不绑定原生DOM事件
   -->
  <Child v-model:num="num" v-model:count="count" />
</template>

<script>
import Child from "./Child.vue";

export default {
  name: "App",
  data() {
    return {
      num: 0,
      count: 0,
    };
  },
  components: {
    Child,
  },
};
</script>

<style scoped></style>
